package org.fireflow2.designer.eclipse.parts.designer;

import org.eclipse.gef.EditPolicy;
import org.eclipse.gef.Request;
import org.eclipse.gef.commands.Command;
import org.fireflow2.designer.eclipse.parts.basic.BasicSubProcessPart;
import org.fireflow2.designer.eclipse.policies.CommonXYLayoutEditPolicy;
import org.fireflow2.designer.eclipse.policies.datafield.DataFieldListEditPolicy;


public class SubProcessPart4Designer extends BasicSubProcessPart{


	@Override
	protected void createEditPolicies() {
		// TODO Auto-generated method stub
		installEditPolicy(EditPolicy.LAYOUT_ROLE, new CommonXYLayoutEditPolicy());
//		installEditPolicy(EditPolicy.CONTAINER_ROLE, new DataFieldListEditPolicy());
		
	}
	public Command getCommand(Request request) {
//		System.out.println("Inside SubProcessPart4Designer::requestType="+request.getType()+"; reuqest class ="+request.getClass().getCanonicalName());
		return super.getCommand(request);
	}
}
